package com.diabetes.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SugarRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private Long userId;

    private LocalDateTime recordDate;

    private float bloodSugar;

    //记录状态（1代表早餐后，2代表午餐后，3代表晚餐后）
    private int state;
}
